package com.yequan.springmvc.handlermapping;

import java.lang.reflect.Method;

public class HandlerMethod {

	// Controller对象
	private Object handler;

	// Controller类中使用RequestMapping注解的方法对象
	private Method method;

	public Object getHandler() {
		return handler;
	}

	public void setHandler(Object handler) {
		this.handler = handler;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public HandlerMethod(Object handler, Method method) {
		super();
		this.handler = handler;
		this.method = method;
	}
	
	
}
